﻿using Zhp.Entity.Sys;
using Zhp.Model.Sys;

namespace Zhp.IService.Sys
{
    public interface ISysUserService
    {
        Task<List<UserModel>> GetUser(UserQuery query);
        Task<bool> Create(UserCreate user);
        Task<bool> Update(UserCreate update);
        Task<bool> Delete(string id);
        public Task<bool> ResetPassword(long id);
        Task<SysUser> QueryByName(string name);
    }
}
